package Bird;
public class Client 
{
   public Client() {
    
   }

   public static void main(String[] args) {
      AbleFly ableFly = new AbleFly();
      UnableFly unableFly = new UnableFly();
      AbleSwim ableSwim = new AbleSwim();
      UnableSwim unableSwim = new UnableSwim();

      Eagle eagle = new Eagle(ableFly, unableSwim);
      eagle.display();

      Penguin penguin = new Penguin(unableFly, ableSwim);
      penguin.display();
   }
}
